/*
 * @Author: maqaing
 * @Date: 2021-10-28 16:46:22
 * @LastEditors: maqiang
 * @LastEditTime: 2021-10-29 09:46:32
 * @Description: 
 */
import request from '@/utils/request'
export default{
    namespaced:true,
    state(){
        return  {
            column:[]
        }
    },
    getters:{

    },
    mutations:{
        getColum(state,payload){
            state.column=payload;
        }
    },
    actions:{
        async FindAllColum({commit}){
        let res =  await request.get('/article/findAllRecommend',{
                params:{
                page:1,
                pageSize:100
            }
        })
        commit('getColum',res.data.list)
        }
        
    }

}